<?php

/**
 * @author Jose Luis Quintana <jsoeluis@lbn.pe>
 * Printing the newsletter in browser
 */
include './administration/Libraries/Tools/JLTools.class.php';
$jl = new JLTools();

$id = filter_var($_GET['id'], FILTER_SANITIZE_NUMBER_INT);
$code = filter_var($_GET['code'], FILTER_SANITIZE_STRING);
echo file_get_contents($jl->getNameDomain() . "/administration/?ws=Newsletter&act=showNewsletter&id=$id&code=$code");